package middleware.p2p.replication;

import middleware.p2p.log.VectorClock;

public class ReplicaRequest {
	private VectorClock vclock;
	private String componentId;
	private String coordWsdl;
	private String replica;
	private String transId;
	private String responseAddr;
	private boolean get;
	private boolean push;
	public ReplicaRequest(){
		this.vclock=null;
		this.componentId=null;
		this.coordWsdl=null;
		this.replica=null;
		this.transId=null;
		this.setResponseAddr(null);
		this.get=false;
		this.push=false;		
	}
	/**
	 * @return the vclock
	 */
	public VectorClock getVclock() {
		return vclock;
	}
	/**
	 * @param vclock the vclock to set
	 */
	public void setVclock(VectorClock vclock) {
		this.vclock = vclock;
	}
	/**
	 * @return the componentId
	 */
	public String getComponentId() {
		return componentId;
	}
	/**
	 * @param componentId the componentId to set
	 */
	public void setComponentId(String componentId) {
		this.componentId = componentId;
	}
	/**
	 * @return the coordWsdl
	 */
	public String getCoordWsdl() {
		return coordWsdl;
	}
	/**
	 * @param coordWsdl the coordWsdl to set
	 */
	public void setCoordWsdl(String coordWsdl) {
		this.coordWsdl = coordWsdl;
	}
	/**
	 * @return the replica
	 */
	public String getReplica() {
		return replica;
	}
	/**
	 * @param replica the replica to set
	 */
	public void setReplica(String replica) {
		this.replica = replica;
	}
	/**
	 * @return the transId
	 */
	public String getTransId() {
		return transId;
	}
	/**
	 * @param transId the transId to set
	 */
	public void setTransId(String transId) {
		this.transId = transId;
	}
	/**
	 * @return the get
	 */
	public boolean isGet() {
		return get;
	}
	/**
	 * @param get the get to set
	 */
	public void setGet(boolean get) {
		this.get = get;
	}
	/**
	 * @return the push
	 */
	public boolean isPush() {
		return push;
	}
	/**
	 * @param push the push to set
	 */
	public void setPush(boolean push) {
		this.push = push;
	}
	/**
	 * @param responseAddr the responseAddr to set
	 */
	public void setResponseAddr(String responseAddr) {
		this.responseAddr = responseAddr;
	}
	/**
	 * @return the responseAddr
	 */
	public String getResponseAddr() {
		return responseAddr;
	}
	
}
